package cn.kogee.service;

import cn.kogee.domian.Product;
import cn.kogee.domian.Store;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface IProductService {
    void add(Product product);

    Product findById(Long id);


    Product findByNameorPrice(@Param("name")String name,@Param("price") BigDecimal price);
}
